<%-- 
    Document   : index
    Created on : 27/05/2010, 03:32:58 PM
    Author     : Damc
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<%
    HttpSession sesion = request.getSession();
    try{
        if(!sesion.getAttribute("role").equals("client") || sesion == null){
            sesion.invalidate();
            response.sendRedirect("../index.jsp");
        }
    }catch(Exception w){ response.sendRedirect("../index.jsp");
    }
    String username =(String) sesion.getAttribute("username");

    String message = (String)request.getAttribute("message");
    if (message == null){message = "";}
%>

<html>
    <head>
        <title>FuTurismo - Haga sus reservas de forma facil y rapida</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <link href="../css/styles.css" rel="stylesheet" type="text/css" />
        <script src="../js/Encriptacion.js" type="text/javascript"></script>
    </head>


    <jsp:include page="../fragment/top.jsp"/>
    <center>
        <jsp:include page="../fragment/subtopclient.jsp"/>
        <div id="fond" class="clear-block">
            <table><tbody><tr><td>
                    <jsp:include page="../fragment/leftClient.jsp"/>

                <!columna dos para la parte central de la pagina>

                    <div id="central" class="clear-block">
                        <div align="center">
                            <h1>Bienvenido <%=username%></h1>
                            <p>Recuerde que puede revisar la informacion de sus planes, y reservas</p>
                        </div>

                    </div>
        </td> </tr> </tbody> </table>
                </div>
        <jsp:include page="../fragment/down.jsp"/>




    </center>
</html>
